<div class="pageContent">
	<form
	<?php foreach ($form->attrs() as $attr => $value): $value = h($value); echo "{$attr}=\"{$value}\" "; endforeach; ?>>
		<div class="tabs" currentIndex="0" eventType="click"
			style="margin: 0 auto">
			<div class="tabsHeader">
				<div class="tabsHeaderContent">
					<ul>
						<?php foreach ($form->elements() as $element):?>
						<li><a href="javascript:;"><span><?php echo $element->_label?> </span>
						</a>
						</li>
						<?php endforeach;?>
					</ul>
				</div>
			</div>
			<div class="tabsContent">
				<?php foreach ($form->elements() as $element):?>
				<div style="width: 100%">
					<?php echo Q::control($element->_ui, $element->id, $element->attrs());?>
				</div>
				<?php endforeach;?>
				<div></div>
			</div>
			<div class="formBar">
				<ul>
					<li><div class="buttonActive">
							<div class="buttonContent">
								<button type="submit">提交</button>
							</div>
						</div>
					</li>
					<li><div class="button">
							<div class="buttonContent">
								<button type="button" class="close">取消</button>
							</div>
						</div>
					</li>
				</ul>
			</div>
		</div>
	</form>
</div>
